﻿@model IEnumerable<Entity.Admin.Message>
 @section scripts{
    <script type="text/javascript">
        $(function () {
            $("#tabs").tabs();
        });
    </script>
}
@section viewAction{

}

@{Html.EnableClientValidation(true);}
@using (Ajax.BeginForm(new CustomAjaxOptions()))
{
    <div id="tabs" class="custom-tabs">
        <ul>
            <li><a href="#tabs-1">我收到的消息</a></li>
            <li><a href="#tabs-2">我发送的消息</a></li>
        </ul>
        <div id="tabs-1">
            @Html.Partial("UserReceivedMessages")
        </div>
        <div id="tabs-2">
           @Html.Partial("UserSendMessages")
        </div>
    </div>
   
}


